const _request = option => uni.$http.create().setConfig({ ...option, showLoading: false }).request()

// 获取销课列表
export const getAppointmentlist = data => _request({ url: '/learn/list-page', data }) 

// 获取学习详情
export const getlearnInfo = data => _request({ url: '/learn', data }) 

// 学员评价
export const learnComment = data => _request({ url: '/learn/comment', data, method:'post' }) 

// 获取所有单词
export const vocabularvAll = data => _request({ url: '/course-vocabulary/all', data }) 